package org.cfx.gift.config;

import com.aliyun.oss.OSSClient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * ConfigurationProperties 读取有相同前缀的配置
 * @author RTX 9090
 */
@Configuration
@ConfigurationProperties(prefix = "file.alioss")
@Data
public class AliOssConfig {

    private String endpoint;
    private String bucketName;
    private String accessKey;
    private String secretKey;


}
